import request from '@/utils/request'

const BaseUrl = 'http://81.70.179.126:9025/backend-api/platform/banner/'

// 创建轮播图
export function create(query) {
  return request({
    baseURL: BaseUrl + 'create',
    method: 'get',
    params: query
  })
}

// 轮播图
export function list(query) {
  return request({
    baseURL: BaseUrl + 'list',
    method: 'get',
    params: query
  })
}
